<ion-view view-title="专线{{lineInfo.type}}" cache-view="true" hide-back-button="false" ng-init="init()">
  <ion-content>
    <section class="g_main">
      <section class="truck_line track_line-edit">
        <ul>
          <li ng-click="toSelectCity(0)">
            <i class="icon icon_start"></i>
            <h4>起点</h4>
            <input disabled ng-model="lineInfo.start_area_disp"/>
          </li>
          <li ng-click="toSelectCity(1)">
            <i class="icon icon_end"></i>
            <h4>终点</h4>
            <input disabled ng-model="lineInfo.end_area_disp"/>
          </li>
          <li>
            <i class="icon icon_time"></i>
            <h4>时效</h4>
            <input type="number" placeholder="请输入时效" ng-model="lineInfo.term_of_validity">
            <span>天</span>
          </li>
          <li>
            <i class="icon icon_heavy"></i>
            <h4>重货价</h4>
            <input type="number" placeholder="请输入价格" ng-model="lineInfo.heavy_cargo_price">
            <span>元/吨</span>
          </li>
          <li>
            <i class="icon icon_cargo"></i>
            <h4>泡货价</h4>
            <input type="number" placeholder="请输入价格" ng-model="lineInfo.light_cargo_price">
            <span>元/立方</span>
          </li>
          <li>
            <i class="icon icon_shipment"></i>
            <h4>起运价</h4>
            <input type="number" placeholder="请输入价格" ng-model="lineInfo.base_price">
            <span>元</span>
          </li>
        </ul>
        <div class="btn_box" ng-show="isShowCancel">
          <button class="btn_save" ng-click="optLine()">修改发布</button>
          <button class="btn_cancel" ng-click="cancelLine()">取消发布</button>
        </div>
        <button class="btn_save" ng-click="optLine()" ng-show="!isShowCancel">{{publabel}}</button>
      </section>
    </section>
  </ion-content>
</ion-view>
